package calculator.model;


// A subclass of the Product class. It defines only one more attribute - alcohol.
public class AlcoholicProduct extends Product {
    private double alcohol;
    
    AlcoholicProduct(String name, String measure, int calories, double protein, double fat, double carbohydrate, double alcohol){
        super(name, measure, calories, protein, fat, carbohydrate);
        this.alcohol = alcohol;
    }

    public double getAlcohol() {
        return alcohol;
    }

    public void setAlcohol(double alcohol) {
        this.alcohol = alcohol;
    }
    
}